<script type="text/javascript">
$(function(){
    trbgmoves('#d3dff2');
})
</script>
<!--top结束-->
<div class="mian">
    <div class="mian1">
        <div class="mian2">
            <!--left start-->
            <?php $this->load->view('defaults/common/left');?>
            <!--left end-->

            <!--right start-->
            <div class="right">
                <!--breadcrumb start-->
                <div class="righta"><?=$this->breadcrumb->generateHTML();?> </div>
                <!--breadcrumb end-->

                <!-- contents start -->
                <div id="contents">
                    <div id="ct_search" >
                        <form action="<?=blang_url('orders/Product_category/')?>" method="post" name="searchform" >
                            <table id="search_tb">
                                <tr>
                                    <td colspan="3">
                                       <input name="keyword" value="<?=$keyword?>" size="28" placeholder="name" />&nbsp;&nbsp;
                                        <input type="submit" name="searchSubmit" value="<?=lang('public_cx')?> " />&nbsp;&nbsp;&nbsp;&nbsp;
                                        <a href="<?=$outputUrl?>" ><?=lang('public_dcsj')?></a>
                                    </td>
                                </tr>
                            </table>
                        </form>
                    </div>
                    <div class="ct_content" >
                        <table class="tbwd800" cellspacing="0">
                            <thead class="table_thead" >
                            <tr>
                                <th width="5%" >id</th>
                                <th width="10%" >中文名称</th>
                                <th width="10%" >英文名称</th>
                                <th width="10%" >状态</th>
                                <th width="10%" >处理人</th>
                                <th width="15%" >添加日期</th>
                                <th width="15%" >Modify</th>
                            </tr>
                            </thead>
                            <?php if($show_pages):?>
                                <tfoot id="tfootPage">
                                <tr>

                                    <td colspan="7" ><?=$show_pages?></td>
                                </tr>
                                </tfoot>
                            <?php endif;?>
                            <tbody>
                            <?php if($dataList): foreach ($dataList as $key=>$rs):?>
                                <tr class="moves">
                                    <td width="5%"><?=$rs['id']?></td>
                                    <td width="10%"><?=$rs['name_ch']?></td>
                                    <td width="15%"><?=$rs['name_en']?></td>
                                    <td width="10%"><?=$rs['availableName']?></td>
                                    <td width="10%"><?=$rs['add_user']?></td>
                                    <td width="10%" ><?=$rs['add_time']?></td>
                                    <td width="15%" align="center">
                                        <a href="<?=blang_url('orders/Product_category/edit/'.$rs['id'])?>" >edit</a>
                                        <a href="<?=blang_url('orders/Product_category/del/'.$rs['id'].'/'.$page)?>" onclick="return confirm('Sure you want to delete?')" >delete</a>
                                    </td>
                                </tr>
                            <?php endforeach; else:?>
                                <tr><th colspan="7" height="40"><?=lang('public_mygdsj')?>....</th></tr>
                            <?php endif; ?>
                            </tbody>
                        </table>
                    </div>
                </div>
                <!-- contents end -->
            </div>
            <!--right end-->
        </div>
    </div>
</div>

